//
//  MacroKeyHeader.h
//  Customized
//
//  Created by TopScore-AI on 17/4/11.
//  Copyright © 2017年 TopScore-AI. All rights reserved.
//

#ifndef MacroKeyHeader_h
#define MacroKeyHeader_h

#define KWindow [UIApplication sharedApplication].keyWindow

#define KMainScreenBounds [UIScreen mainScreen].bounds

#define KMainScreenWidth [UIScreen mainScreen].bounds.size.width

#define KMainScreenHeight [UIScreen mainScreen].bounds.size.height

#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]

#define KShotIdSingleton_Null @"ShotIdSingleton_Null"

#define IOS_SYSTEM_VERSIONSTRING [[UIDevice currentDevice] systemVersion]

#define CMViewBorderRadius(View, Radius, Width, Color)\
\
[View.layer setCornerRadius:(Radius)];\
[View.layer setMasksToBounds:YES];\
[View.layer setBorderWidth:(Width)];\
[View.layer setBorderColor:[Color CGColor]]

#define KInt_Zero 0

#define KInt_One 1

// 鞋子图片缩放比
#define KMainShoesImageScale (840 * 1.0) / 1500;

#ifdef DEBUG

#define NSLog(...) NSLog(__VA_ARGS__)

#else

#define NSLog(...)

#endif


#endif /* MacroKeyHeader_h */
